package org.example.myleet.p1694;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("99-64".equals(solution.reformatNumber("9964-")));
        Assert.isTrue("123-456-78".equals(solution.reformatNumber("123 4-5678")));
        Assert.isTrue("123-456".equals(solution.reformatNumber("1-23-45 6")));
        Assert.isTrue("123-45-67".equals(solution.reformatNumber("123 4-567")));
        Assert.isTrue("12".equals(solution.reformatNumber("12")));
    }
}
